package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.Department;
import com.neusoft.ysu.npms.pojo.Help;
import com.neusoft.ysu.npms.pojo.Helpman;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface HelpmanMapper extends BaseMapper<Helpman> {
    Integer add(Helpman helpman);
    Integer deleteHelpman(Helpman helpman);
    Integer updateHelpman(Helpman helpman);
    List<Helpman> selectAll(Helpman helpman);
    List<Department> selectAll();
    Helpman findById(Helpman helpman);
}
